package com.buydeem.log;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * ```@Import + ImportSelector```
 *
 * @author zengchao
 * @date 2022-03-08 11:25:25
 */
@EnableLog(value = "b")
public class App {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(App.class);

        LogService logService = context.getBean(LogService.class);

        logService.printLog("日志内容");
    }
}
